package com.shwread.android.qysw.step.dto;

import com.google.gson.Gson;
import com.google.gson.annotations.SerializedName;
import com.google.gson.reflect.TypeToken;

import java.util.List;

/**
 * Created by fantasy on 16/4/1.
 */
public class HMRankDto {
    @SerializedName("HMRank")
    public List<HMRank> data_list;
    HMRank HMMyInfo;
    String percentage;

    public String getPercentage() {
        return percentage;
    }

    public void setPercentage(String percentage) {
        this.percentage = percentage;
    }

    public List<HMRank> getData_list() {
        return data_list;
    }

    public void setData_list(List<HMRank> data_list) {
        this.data_list = data_list;
    }

    public HMRank getHMMyInfo() {
        return HMMyInfo;
    }

    public void setHMMyInfo(HMRank HMMyInfo) {
        this.HMMyInfo = HMMyInfo;
    }

    public static HMRankDto parserJson(String jsonString) {
        Gson gson = new Gson();
        return (HMRankDto) gson.fromJson(jsonString, new TypeToken<HMRankDto>() {
        }.getType());
    }

}
